import os

class JclicgUtils:
    def createDir(self, dir):
        print('creating ' + dir + ' ...')
        os.mkdir(dir)
        self.createFile(dir + "/index.html", "<html><body bgcolor=\"#FFFFFF\"></body></html>")

    def createFile(self, fileName, content):
        print('creating ' + fileName + ' ...')
        fh = open(fileName, "w")
        fh.write(content)